package com.dao;

import com.entity.Banner;

import java.sql.SQLException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzy
 * @since 2022-03-24
 */
public interface BannerService extends Dao<Banner> {

	// 查询所有未删除的轮播图
	List<Banner> queryList() throws SQLException, InstantiationException, IllegalAccessException;

	// 根据id查询一个
	Banner findOne(int id) throws SQLException, InstantiationException, IllegalAccessException;
}
